/*
 * @FilePath: /cpp_study/ch05/bigstep.cpp
 * @Description: 修改步长
 * @Author: dengrunting
 * @Date: 2022-01-07 18:32:30
 * @LastEditTime: 2022-01-07 18:36:02
 */
#include<iostream>

int main(){

    using std::cout;
    using std::cin;
    using std::endl;

    cout << "Enter an interger: ";
    int by;
    cin >> by;
    cout << "Counting by " << by << "s:\n";
    for (int i=0; i < 100; i = i+by){
        cout << i << endl;
    }
    return 0;
}

